package com.xmall.order.define.dto;

import com.xmall.order.entity.*;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class OrderDo extends Order {

    /**
     * 订单子项列表
     */
    private List<OrderItem> orderItems = new ArrayList<>();

    /**
     * 订单退货单
     */
    private List<OrderRefund> orderRefunds = new ArrayList<>();

    /**
     * 收货地址
     */
    private OrderDelivery delivery;

    /**
     * 订单物流
     */
    private OrderExpress express;
}
